.avatar-uploader {
  /*width: 150px;*/
  /*width: 50%;*/
  /*height: 150px;*/
  display: inline-block;
  /*display: block;
  border: 1px dashed #d9d9d9;
  border-radius: 6px;*/
  cursor: pointer;

}
.avatar-uploader :global(.ant-upload) {
  display: inline-block;
  /*width: 50%;*/
}

.avatar-uploader-icon {
  width: 100%;
  height: 100%;
}

.image-preview {
  width: 100%;
  line-height: normal;
  position: relative;

  &:hover .over-avatar {
    opacity: 1;
  }
}

.over-avatar {
  transition: opacity .2s ease-in;
  position: absolute;
  top: 0;
  bottom: 3px;
  width: 100%;
  /*height: 100%;*/
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  background-color: rgba(0, 0, 0, .5);
  cursor: pointer;
  color: #fff;
}
